//
//  JSONtestViewController.h
//  JSONtest
//
//  Created by Hilary Muludiang on 2/18/12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface JSONtestViewController : UIViewController {
	NSMutableArray *countryNames;
	NSMutableArray *capitalCities;
	NSMutableArray *populations;
	IBOutlet UIButton *runJSONCall;
	IBOutlet UITextField *JSONresults;
	NSString *cap;

}


@property(nonatomic,retain) IBOutlet UIButton *runJSONCall;
@property(nonatomic,retain) IBOutlet UITextField *JSONresults;
@property(nonatomic,retain) NSMutableArray *capitalCity;
@property(nonatomic,retain) NSMutableArray *population;
@property(nonatomic,retain) NSString *cap;

-(IBAction)getCountryInfo:(id)sender;
-(void)searchGeonamesCountry:(NSString *)countryName;
-(void)jsoncall;
@end

